<template>
	<div>
		<taoslink v-if="curObject.type==='link'"></taoslink>
		<taosdb v-if="curObject.type==='db'"></taosdb>
		<taostable v-if="curObject.type==='table'"></taostable>
		<taosStable v-if="curObject.type==='stable'"></taosStable>
		<welcome v-if="!curObject.type"></welcome>
	</div>
</template>

<script>
	import {mapGetters} from 'vuex'
	import taosdb from './db'
	import taoslink from './link'
	import taostable from './table/table'
	import taosStable from './stable/stable'
	import welcome from './welcome'
	export default {
		 name: "home",
		components: {
			welcome,taosdb,taostable,taosStable,taoslink
		},
		data() {
		  return {}
		},
		computed: {
			...mapGetters(['curObject'])
		},
		methods:{
		}
	}
</script>

<style>
</style>
